package com.Lacia.emsserver.common;

/**
 * @author 万里花
 * @date 2024/6/7 14:52
 */
public class BmsDataAccumulator {
    private static double chargeTotal = 0.0;
    private static double dischargeTotal = 0.0;

    public static double getChargeTotal() {
        return chargeTotal;
    }

    public static double getDischargeTotal() {
        return dischargeTotal;
    }

    public static void addToChargeTotal(double value) {
        chargeTotal += value;
    }

    public static void addToDischargeTotal(double value) {
        dischargeTotal += value;
    }
}
